package com.neu.po;

public class Dept {
    private int dept_id;
    private String dept_name;
    private String dept_phone;
    private String dept_loc;
    private int dept_parentid;

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public String getDept_phone() {
        return dept_phone;
    }

    public void setDept_phone(String dept_phone) {
        this.dept_phone = dept_phone;
    }

    public String getDept_loc() {
        return dept_loc;
    }

    public void setDept_loc(String dept_loc) {
        this.dept_loc = dept_loc;
    }

    public int getDept_parentid() {
        return dept_parentid;
    }

    public void setDept_parentid(int dept_parentid) {
        this.dept_parentid = dept_parentid;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "id=" + dept_id +
                ", name='" + dept_name + '\'' +
                ", phone='" + dept_phone + '\'' +
                ", loc='" + dept_loc + '\'' +
                ", parentid=" + dept_parentid +
                '}';
    }
}
